home *** CD-ROM | disk | FTP | other *** search
- /**************************************************************************
- * RSCSSTR.C - Set pointers to object strings from within a tree.
- *************************************************************************/
-
- #include "gemfintl.h"
-
- #ifdef GEMFAST_PROTOS
- void rsc_sstrings(OBJECT *thetree, int object, char *pstr, ...)
- #else
- void rsc_sstrings(thetree, object, pstr)
- OBJECT *thetree;
- int object;
- char *pstr;
- #endif
- {
- register OBJECT *ptree;
- register char **ppstr;
- va_list args;
-
- ptree = thetree;
- va_start(args, pstr);
- while (object >= 0) {
- ppstr = obj_ppstring(&ptree[object]);
- *ppstr = pstr;
- object = va_arg(args, int);
- pstr = va_arg(args, char *);
- }
- va_end(args);
- }
-
-